import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/Index'
import Board from '@/components/Board'
import Sign from '@/components/Sign'
import Receive from '@/components/Receive'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Board',
      meta: {
        active: 0
      },
      component: Board
    },
    {
      path: '/index',
      name: 'Index',
      meta: {
        active: 3
      },
      component: Index 
    },
    {
      path: '/sign',
      name: 'Sign',
      meta: {
        active: 1
      },
      component: Sign 
    },
    {
      path: '/receive',
      name: 'Receive',
      meta: {
        active: 2
      },
      component: Receive 
    }
  ]
})
